﻿package kliment.display.draw.shape {
	import flash.geom.Rectangle;
	import kliment.display.draw.DrawStyle;
	
	/**
	 * ...
	 * @author Kliment
	 */
	public class RectangleShape extends ShapeAbstract {
		
		public function RectangleShape(size:Rectangle, drawStyle:DrawStyle = null) {
			super();
			_setStyles(graphics, drawStyle);			
			graphics.drawRect(size.x, size.y, size.width, size.height);
			graphics.endFill();
		}
		
	}
	
}